package com.Washer;

import java.util.List;

public interface WasherMapper {
	//根据宿舍ID查询
	public List<Washer> getAllWasher(int dormitoryID);
	//根据洗衣机ID查询
	public List<Washer> getWasherByID(int WasherID);
	//根据洗衣机状态
	public List<Washer> getWasherByStatus(int WasherStatus);
	//添加洗衣机信息
	public int insertWasher(Washer washer);
	//删除洗衣机
	public int deleteWasher(Washer washer);
	//更新信息
	public int changeStatus(Washer washer);

}
